package com.ldg.crm.entity;

import java.io.Serializable;
import java.util.Date;

public class CompactEntity implements Serializable {
    /**
     * 合同ID
     */
    private Integer compactId;

    /**
     * 客户_id
     */
    private Integer customerId;

    /**
     * 商业ID
     */
    private Integer busId;

    /**
     * 合同编号
     */
    private Integer compact;

    /**
     * 合同时间
     */
    private Date compactTime;

    /**
     * 甲方
     */
    private String partyA;

    /**
     * 乙方
     */
    private String partyB;

    /**
     * 合同内容
     */
    private String text;

    /**
     * crm_compact
     */
    private static final long serialVersionUID = 1L;

    /**
     * 合同ID
     * @return compact_id 合同ID
     */
    public Integer getCompactId() {
        return compactId;
    }

    /**
     * 合同ID
     * @param compactId 合同ID
     */
    public void setCompactId(Integer compactId) {
        this.compactId = compactId;
    }

    /**
     * 客户_id
     * @return customer_id 客户_id
     */
    public Integer getCustomerId() {
        return customerId;
    }

    /**
     * 客户_id
     * @param customerId 客户_id
     */
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    /**
     * 商业ID
     * @return bus_id 商业ID
     */
    public Integer getBusId() {
        return busId;
    }

    /**
     * 商业ID
     * @param busId 商业ID
     */
    public void setBusId(Integer busId) {
        this.busId = busId;
    }

    /**
     * 合同编号
     * @return compact 合同编号
     */
    public Integer getCompact() {
        return compact;
    }

    /**
     * 合同编号
     * @param compact 合同编号
     */
    public void setCompact(Integer compact) {
        this.compact = compact;
    }

    /**
     * 合同时间
     * @return compact_time 合同时间
     */
    public Date getCompactTime() {
        return compactTime;
    }

    /**
     * 合同时间
     * @param compactTime 合同时间
     */
    public void setCompactTime(Date compactTime) {
        this.compactTime = compactTime;
    }

    /**
     * 甲方
     * @return party_a 甲方
     */
    public String getPartyA() {
        return partyA;
    }

    /**
     * 甲方
     * @param partyA 甲方
     */
    public void setPartyA(String partyA) {
        this.partyA = partyA == null ? null : partyA.trim();
    }

    /**
     * 乙方
     * @return party_b 乙方
     */
    public String getPartyB() {
        return partyB;
    }

    /**
     * 乙方
     * @param partyB 乙方
     */
    public void setPartyB(String partyB) {
        this.partyB = partyB == null ? null : partyB.trim();
    }

    /**
     * 合同内容
     * @return text 合同内容
     */
    public String getText() {
        return text;
    }

    /**
     * 合同内容
     * @param text 合同内容
     */
    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", compactId=").append(compactId);
        sb.append(", customerId=").append(customerId);
        sb.append(", busId=").append(busId);
        sb.append(", compact=").append(compact);
        sb.append(", compactTime=").append(compactTime);
        sb.append(", partyA=").append(partyA);
        sb.append(", partyB=").append(partyB);
        sb.append(", text=").append(text);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}